package org.etherframework.tests.features.contextual.configs
{
	import org.etherframework.core.EtherConfig;
	import org.etherframework.common.Access;
	import org.etherframework.wire.ProcessorFactory;
	import org.etherframework.wire.Wiring;
	import org.etherframework.wire.processors.Inject;
	
	public class GlobalConfig extends EtherConfig
	{
		public function GlobalConfig()
		{
			super();
			defaultAccess = Access.GLOBAL;
		}
		
		override public function initializeModules():void
		{
			super.initializeModules();
			
			Wiring.initialize(Vector.<ProcessorFactory>([new ProcessorFactory(Inject)]));
		}
	}
}